package cn.com.utt.unms.pojo;

import java.sql.Timestamp;

public class Order {

	private Long id;
	private String orderId;
	private Long userId;
	private Long productId;
	private Integer num;
	private Double price;
	private Timestamp orderTime;
	private Timestamp payTime;
	private Byte payMethod;
	private String payAccount;
	private String tradeNo;
	private Double totalFee;
	private Byte payStatus;
	private Product product;

	public Long getId() {
		return id;
	}

	public String getOrderId() {
		return orderId;
	}

	public Long getUserId() {
		return userId;
	}

	public Long getProductId() {
		return productId;
	}

	public Integer getNum() {
		return num;
	}

	public Double getPrice() {
		return price;
	}

	public Timestamp getOrderTime() {
		return orderTime;
	}

	public Timestamp getPayTime() {
		return payTime;
	}

	public Byte getPayMethod() {
		return payMethod;
	}

	public String getPayAccount() {
		return payAccount;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public Double getTotalFee() {
		return totalFee;
	}

	public Byte getPayStatus() {
		return payStatus;
	}

	public Product getProduct() {
		return product;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public void setOrderTime(Timestamp orderTime) {
		this.orderTime = orderTime;
	}

	public void setPayTime(Timestamp payTime) {
		this.payTime = payTime;
	}

	public void setPayMethod(Byte payMethod) {
		this.payMethod = payMethod;
	}

	public void setPayAccount(String payAccount) {
		this.payAccount = payAccount;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public void setTotalFee(Double totalFee) {
		this.totalFee = totalFee;
	}

	public void setPayStatus(Byte payStatus) {
		this.payStatus = payStatus;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

}
